From ce95c3ccfe2659d285e539c4041f781ae8810995 Mon Sep 17 00:00:00 2001 From: "kaf24@localhost.localdomain" Date: Sun, 13 Aug 2006 19:10:57 +0100 Subject: [PATCH] [XEN] Explicitly include domain_page.h for map_domain_page() and fix a warning about arithmetic on 'void *' pointers. Based on a patch from Jimi Xenidis Signed-off-by: Keir Fraser --- xen/common/grant_table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xen/common/grant_table.c b/xen/common/grant_table.c index 9a0f3434a7..32c20b0547 100644 --- a/xen/common/grant_table.c +++ b/xen/common/grant_table.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #define PIN_FAIL(_lbl, _rc, _f, _a...) \ @@ -818,7 +819,7 @@ __gnttab_copy( { struct domain *sd = NULL, *dd = NULL; unsigned long s_frame, d_frame; - void *sp, *dp; + char *sp, *dp; s16 rc = GNTST_okay; int have_d_grant = 0, have_s_grant = 0; -- 2.30.2